%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% This file is part of the book
%%
%% Sage for High School
%% http://code.google.com/p/high-school-sage/
%%
%% Copyright (C) 2010 Minh Van Nguyen <nguyenminh2@gmail.com>
%%
%% See the file COPYING for copying conditions. See the file LICENSE
%% for the terms under which the whole book is licensed.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[a4paper,twoside,12pt]{book}

\usepackage{mystyle}

\begin{document}

\pagenumbering{alph}

\title{\Huge\bf Sage for High School}
\author{\Large Minh Van Nguyen}
\date{%
  Version~\documentEdition \\
  \today
}
\maketitle

%% Copyright page
{\thispagestyle{empty}
  \input{tex/notice.tex} \\\\
  \textbf{Edition} \\
  Version~\documentEdition \\
  \today
}

%% front matter
\frontmatter
%% Setting the TOC depth: only list chapters and sections
\setcounter{tocdepth}{1}
\tableofcontents
\let\cleardoublepage\clearpage
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
\let\cleardoublepage\clearpage

%% main document body
\mainmatter
\input{tex/algebraic-simplify.tex}
\input{tex/surds-log.tex}
\input{tex/number-theory.tex}
\input{tex/linear-functions.tex}
\input{tex/quadratic-functions.tex}
\input{tex/polynomials.tex}
\input{tex/exponential-logarithmic.tex}
\input{tex/transformations.tex}
\input{tex/trigonometic-functions.tex}
\input{tex/vectors-matrices.tex}
\input{tex/polar-conic.tex}
\input{tex/statistics-probability.tex}

%% appendices
\appendix
\input{tex/license-gfdl.tex}

%% back matter
\backmatter
\cleardoublepage
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{bibliography.bst}
\bibliography{bibliography.bib}
\cleardoublepage
\addcontentsline{toc}{chapter}{Index}
\printindex
\end{document}
